package encore.portal.container;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.w3c.dom.DOMException;
import org.w3c.dom.Element;

public interface PortletResponseContext {
   public void init(HttpServletRequest request,HttpServletResponse response);
   
   public PortletContainer getContainer();
   
   public HttpServletRequest getContainerRequest();
   
   public HttpServletResponse getContainerResponse();
   
   public HttpServletRequest getServletRequest();
   
   public HttpServletResponse getServletResponse();
   
   public PortletWindow getPortletWindow();
   
   public ResourceURLProvider getResourceURLProvider();
   
   public void addProperty(Cookie cookie);
   
   public void addProperty(String paramString,Element paramElement);
   
   public void addProperty(String key,String value);
   
   public void setProperty(String key,String value);
   
   public Element createElement(String paramString) throws DOMException;
   
   public void close();
   
   public void release();
	
}
